Computes the complex frequency response of a rational filter.
The coefficient ordering is the same as filter: and where . The returned values are therefore at each requested frequency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | b(:) |
The numerator coefficients of the rational transfer function. |
||
| real(kind=real64), | intent(in) | :: | a(:) |
The denominator coefficients of the rational transfer function. |
||
| real(kind=real64), | intent(in) | :: | f(:) |
The frequencies at which to evaluate the response, in Hz. |
||
| real(kind=real64), | intent(in) | :: | fs |
The sampling frequency, in Hz. |
The complex frequency response at each frequency in f.